PreviousNextTracker indexSee it online !

(177/185) 388 - FirstMate feature request

It has been requested on the mailing list that this plugin be updated a little bit. Here are the suggestions:

1. Create an option pane with check boxes that allow each option to be toggle on/off.
2. Either a "custom" textfield where you can add your own separated by commas or just add "<" to be autocompleted to "<>".

The "<" one is what was actually asked for and would be the easiest to implement.

So the option pane would look like:

Autocomplete:

[X] parens - (
[X] braces - [
[X] brackets - {
[X] apostrophe - '
[X] quotes - "
[ ] lessthan - <

[X] Enable autopaired characters on startup
[X] Don't autopair apostrophe following a letter
[X] Remove autopair characters on backspace
[X] Autopair characters around selections

The items that are [X] respresent the current default for the plugin and should remain the current default.

Submitted sigzero - 2017-12-27 15:08:55.741000 Assigned
Priority 5 Labels
Status open Group
Resolution None

Comments

2017-12-27 15:22:06.083000
ezust

Ollie Rutherfurd is no longer developing jEdit, so someone else will need to volunteer.

2017-12-27 15:22:24.722000
ezust

- **assigned_to**: Ollie Rutherfurd --> nobody
- **Group**: -->

2017-12-28 18:30:13.851000
ngc

The "custom" textfield could (maybe) be done in such a way that perl custom brackets are supported.

In perl the "m" and "s" regex operators can accept any character as delimiter. So if the custom field would split the entered text on whitespace and take each pair as the "brackets" to use, one could for example use:

m# # s# ## m: : s: ::

To have auto brackets for stuff like:

m#text#

s:text:replace:

…just thinking loud… ;)